package com.itheima.d4_enum;

public class Tets3 {
    public static void main(String[] args) {
        // 创建两个学生对象并设置属性值
        Student student1 = new Student("小明", 18, Sex.BOY);
        Student student2 = new Student("小红", 19, Sex.GIAR);

        // 输出学生信息
        System.out.println(student1);
        System.out.println(student2);
    }
}
